package com.ebt.m.data.entity;

import com.ebt.m.utils.DataAnnotationCompareExcept;

import java.io.Serializable;

/**
 * @author Damon
 */
public class EntityCustomerAttachment extends ACustomerInfoItemContent implements Serializable{

	public String uuid;

	public String fileName;

	public String fileType;

	public String path;

	public String content;

	public String remark;
	
	@DataAnnotationCompareExcept
	public String customerUUId;
	
	@DataAnnotationCompareExcept
	public Integer ChangeStatus;

	@DataAnnotationCompareExcept
	public Integer lastUpdateTime;

	public String HashKey;
	public String ServUrl;
	
	public EntityCustomerAttachment(){
		
	}
	
	public EntityCustomerAttachment(String uuid, String customerUUId,
			String fileName, String fileType, String path, String content,
			String remark, String hashkey, String serverUrl) {
		this.uuid = uuid;
		this.customerUUId = customerUUId;
		this.fileName = fileName;
		this.fileType = fileType;
		this.path = path;
		this.content = content;
		this.remark = remark;
		this.HashKey = hashkey;
		this.ServUrl = serverUrl;
	}

	public Integer getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Integer lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Integer getChangeStatus() {
		return ChangeStatus;
	}

	public void setChangeStatus(Integer changeStatus) {
		ChangeStatus = changeStatus;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getCustomerUUId() {
		return customerUUId;
	}

	public void setCustomerUUId(String customerUUId) {
		this.customerUUId = customerUUId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getHashKey() {
		return HashKey;
	}

	public void setHashKey(String hashKey) {
		HashKey = hashKey;
	}

	public String getServUrl() {
		return ServUrl;
	}

	public void setServUrl(String serverUrl) {
		ServUrl = serverUrl;
	}

	@Override
	public String toString() {
		return "AttachmentContentItem: uuid is " + uuid + " | customerUUId is "
				+ customerUUId + " | fileName is " + fileName + " | fileType "
				+ fileType + " | path " + path + " | content is " + content
				+ " | remark is " + remark;
	}

}
